package com.MinesweeperGame.server;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class GameTime {
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;
	@Persistent
	private int _timeTaken;
	
	public GameTime(){
			  
	}
		  
	public GameTime(int timeTaken) {
			    
	 _timeTaken = timeTaken;
			    
	}

	public Long getId() {
		
		return this.id;
	}

	public int getTimeTaken() {
		
		return _timeTaken;
	}

	public void seTimeTakene(int timeTaken) {
		
		_timeTaken = timeTaken;
	}	
}


